package com.college.mapper;

import com.college.entity.TeacherInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 教师信息 Mapper 接口
 * </p>
 *
 * @author yoki
 * @since 2024-05-29
 */
@Mapper
public interface TeacherInfoMapper extends BaseMapper<TeacherInfo> {
    @Select("select  * from teacher_info where id = #{id}")
    TeacherInfo getById(Integer id); }
